import 'package:get/get.dart';
import 'package:industry_net/base/component/list/section.dart';
import 'package:industry_net/pages/news/main/views/content/effect.dart';

import '../../controller.dart';

class ContentState {
  final parentCtrl = Get.find<NewsController>();
  final state = Get.find<NewsController>().state;
  ContentEffect get effect {
    return state.contentCtrls[state.tabCtrl.index];
  }

  int pageIndex = 1;
  List<SectionModel> dataSource = [];
}
